package jp.sourceforge.talisman.csvio;

/*
 * $Id: CsvElement.java,v 1.1 2009/09/12 05:06:12 weiwei Exp $
 */

import java.io.Serializable;

/**
 * 
 * @author Haruaki Tamada
 * @version $Revision: 1.1 $ $Date: 2009/09/12 05:06:12 $
 */
class CsvElement implements Cloneable, Serializable{
    private static final long serialVersionUID = 1268771666610776764L;

    private String value;

    public CsvElement(){
    }

    public CsvElement(String value){
        getValue(value);
    }

    public String getValue(){
        return value;
    }

    public void getValue(String value){
        this.value = value;
    }

    public String toString(){
        String value = getValue();
        if(value == null) return "<null>";
        return value;
    }
}
